Fundamental Theorem of Arithmetic

Introduction

What Are Prime Numbers?

Composite Numbers and the Need for Building Blocks

Historical Perspectives on Prime Numbers

The Idea of “Atoms” in Mathematics

Statement of the Fundamental Theorem of Arithmetic

The theorem says:

In symbols:

If $$n = p_1 p_2 \cdots p_k,$$ then the primes $p_i$ are uniquely determined up to rearrangement.

Why Uniqueness Matters

How Factorization Works: Step‑by‑Step Examples

Example 1: Factor $60$

Example 2: Factor $84$

Example 3: Factor $210$

Common Misconceptions About Prime Factorization

Applications of Prime Factorization in Everyday Mathematics

Prime Factorization in Modern Technology (Cryptography, Coding, etc.)

Calculator

factorize

  • Returns the prime factorization of a given integer.
factorize(48) factorize(72) factorize(150) factorize(360)

Exercises

  1. Factor each number into primes:
    • (a) $48$
    • (b) $72$
    • (c) $150$

    Solution

    Factor each number into primes

    (a) $48$

    • $48 = 2 \times 24$
    • $24 = 2 \times 12$
    • $12 = 2 \times 6$
    • $6 = 2 \times 3$
    • So $$48 = 2^4 \times 3$$

    (b) $72$

    • $72 = 2 \times 36$
    • $36 = 2 \times 18$
    • $18 = 2 \times 9$
    • $9 = 3 \times 3$
    • So $$72 = 2^3 \times 3^2$$

    (c) $150$

    • $150 = 10 \times 15$
    • $10 = 2 \times 5$
    • $15 = 3 \times 5$
    • So $$150 = 2 \times 3 \times 5^2$$
  2. Write the prime factorization of $360$ using exponents.

    Solution

    Prime factorization of $360$
    • $360 = 36 \times 10$
    • $36 = 6 \times 6 = 2 \times 3 \times 2 \times 3$
    • $10 = 2 \times 5$
    • Collect primes:
      • $360 = 2^3 \times 3^2 \times 5$
  3. True or false:
    • (a) $1$ is a prime number.
    • (b) Every even number greater than $2$ is composite.
    • (c) Prime factorizations are unique.

    Solution

    True or false
    (a) $1$ is a prime number.
    • False. A prime must have exactly two positive divisors ($1$ and itself). The number $1$ has only one divisor: itself.
    (b) Every even number greater than $2$ is composite.
    • True. Any even number greater than $2$ is divisible by $2$ and at least one other number, so it is composite.
    (c) Prime factorizations are unique.
    • True. This is exactly what the Fundamental Theorem of Arithmetic states.
  4. Simplify using prime factorization: $$\frac{84}{126}$$

    Solution

    Simplify using prime factorization: $\dfrac{84}{126}$
    • Factor each number:
      • $84 = 2^2 \times 3 \times 7$
      • $126 = 2 \times 3^2 \times 7$
      • Write the fraction: $$ \frac{84}{126} = \frac{2^2 \times 3 \times 7}{2 \times 3^2 \times 7} $$
      • Cancel common factors:
        • Cancel one $2$ (leaves $2$ on top)
        • Cancel one $3$ (leaves $3$ on bottom)
        • Cancel $7$ completely
      • Result: $$ \frac{84}{126} = \frac{2}{3} $$
  5. Find the GCD and LCM of $18$ and $30$ using prime factorizations.

    Solution

    GCD and LCM of $18$ and $30$

    Prime factorizations:

    • $18 = 2 \times 3^2$
    • $30 = 2 \times 3 \times 5$

    GCD (greatest common divisor):

    • Take the smallest power of each prime that appears in both:
      • $2^1$ (both have at least one $2$)
      • $3^1$ (both have at least one $3$)
    • So: $$ \gcd(18, 30) = 2 \times 3 = 6 $$

    LCM (least common multiple):

    • Take the largest power of each prime that appears in either:
      • $2^1$ (max from $18$ and $30$)
      • $3^2$ (from $18$)
      • $5^1$ (from $30$)
    • So: $$ \mathrm{lcm}(18, 30) = 2 \times 3^2 \times 5 = 90 $$
  6. Factor $231$ and $385$. What do you notice about the primes involved?

    Solution

    Factor $231$ and $385$. What do you notice?

    $231$:

    • Try dividing by $3$:
    • $231 = 3 \times 77$
    • $77 = 7 \times 11$
    • So: $$ 231 = 3 \times 7 \times 11 $$

    $385$:

    • Ends with $5$, so divisible by $5$.
    • $385 = 5 \times 77$
    • $77 = 7 \times 11$
    • So: $$ 385 = 5 \times 7 \times 11 $$

    Observation:

    • Both numbers share the prime factors $7$ and $11$.
    • $231$ and $385$ differ only by a factor of $3$ vs $5$.
  7. Challenge: Find a number between $200$ and $300$ that has exactly three distinct prime factors.

    Solution

    Find a number between $200$ and $300$ with exactly three distinct prime factors
    • One way is to choose three small primes and multiply them, then check if the result is between $200$ and $300$.
    • Example: $3, 5, 17$
      • $3 \times 5 \times 17 = 15 \times 17 = 255$